#ifndef WAVE_H
#define WAVE_H

#include "particles.h"

/*==============================================================================
							Modern sine wave effect
==============================================================================*/
class SineWave : public ParticleEffect
{
public:
	SineWave(Video* video, Sound* sound, const std::string &filename, float amplitude);
	~SineWave();

protected:
	// Updates particle position
	virtual void UpdatePos(int id);

private:
	// Amplitude of sine wave
	float amplitude;
	// Remembers last frequency
	float last_frequency;
	float last_intensity;
};

#endif // WAVE_H
